package com.woniuxy.service.impl;

import com.woniuxy.dao.QuestionTypesDao;
import com.woniuxy.entity.QuestionTypes;
import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.service.QuestionTypesService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author 罗蔚
 * @Date 2022/4/27 19:31
 * @Description TODO
 */
@Service
public class QuestionTypesServiceImpl implements QuestionTypesService {
    @Resource
    QuestionTypesDao questionTypesDao;

    @Override
    public ResponseEntity find() {
        List<QuestionTypes> list = questionTypesDao.find();
        return new ResponseEntity(200,"查询成功", list);
    }
}
